package com.news.service;



import com.news.model.Admin;

import java.util.List;

public interface AdminService {
    //登录
    List<Admin> selectAdmin(String name);
    //添加
    void insert(Admin admin);
    // 修改
    void update(Admin admin);
    //下架
    void updateStatus(Admin admin);
    //查询全部
    List<Admin> queryAll(int pageNum, int pageSize);
    //查询单个
    Admin queryOne(String id);
}
